package com.numbfish.ch01_ex01_bean_resister.config;

import com.numbfish.ch01_ex01_bean_resister.pojo.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@ComponentScan
public class CustomConfig04ComponentScan {
    @Bean
    public Dog dog(){
        return new Dog();
    }
}
